package com.ruoyi.stateMachineDemo;

/**
 *
 */
public enum States{
    //待支付
    UNPAID(1),
    //待收货
    WAITING_FOR_RECEIVE(2),
    //结束
    DONE(3);

    private final int value;

    States(int value){
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}

